Skip to main content

List Events

AutomatR.GoogleCalendar.Activities.ListEvents

The "List Events" activity in AutomatR is part of the Google Calendar activities package, designed for retrieving a list of events present in a specified Google Calendar. This activity streamlines the process of accessing calendar events, facilitating efficient automation workflows.

Properties

NameDescription
Input
Calendar NameSpecifies the name of the calendar from which you want to retrieve the list of events. String variables containing the calendar name.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "List Events" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e. 1.
Output
ResultThe result is stored as an IList<Event> variable, which can be utilized in other subsequent activities. Variables of type IList<Event> to store the retrieved list of events.

How to use:

  1. Drag and drop the "List Events" activity onto the workflow.
  2. Configure the properties by specifying the calendar name from which you want to retrieve events.
  3. Optionally, configure the delay and customize the display name.
  4. Connect subsequent activities within the "List Events" activity to utilize the retrieved list of events.
  5. Execute the workflow to retrieve a list of events from the specified Google Calendar.

Example: Consider an example where the "List Events" activity is used to retrieve a list of events from a Google Calendar named "Team Meetings":

List Events:
Display Name: "Retrieve Team Meetings"
Calendar Name: "Team Meetings"
Delay: 2
Result: eventList

In this example, the activity retrieves a list of events from the "Team Meetings" calendar with a 2-second delay. The result, an IList<Event> variable named "eventList," can be utilized in subsequent Google Calendar activities within the same workflow.